package com.oig.sys.file.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;

@Schema
@Data
public class TemplateFileVo {

    @Schema(description = "主键id")
    private Integer id;
//    @Schema(description = "应用id")
//    private Integer systemId;
//    @Schema(description = "应用名称")
//    private String systemName;

    @Schema(description = "主业务类型,对应枚举 BusinessType 01-代理 02-仓储 03-运输")
    private String businessType;

    @Schema(description = "具体子单据类型,对应枚举 RelationType")
    private String relationType;

    @Schema(description = "模板名称")
    private String templateName;

    @Schema(description = "模板文件类型")
    private String fileType;
    @Schema(description = "模板文件id")
    private String fileId;
    @Schema(description = "模板文件名称")
    private String fileName;
    @Schema(description = "模板文件url地址")
    private String fileUrl;
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "文件上传人")
    private String fileUploadName;

    @Schema(description = "文件上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date fileUploadTime;
    @Schema(description = "所属租户id")
    private Integer tenantId;

    @Schema(description = "所属租户名称")
    private String tenantName;

    @Schema(description = "通用状态 01-草拟 02-待审核 03-不通过 04-正常 05-删除")
	private String status;

    @Schema(description = "复核人id")
    private Integer checkId;
    @Schema(description = "复核人")
    private String checkName;
    @Schema(description = "复核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;
    @Schema(description = "复核备注")
    private String checkRemark;
}
